package com.happy.model.result;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@AllArgsConstructor(staticName = "of")
@NoArgsConstructor
public class PageResult<T> {
    private Long total;          // 总记录数
    private List<T> rows;       // 查询结果列表

}
